projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa17b85
)
(x_report_frame_params): Makes the scroll-bar-width frame
author
Eli Zaretskii
<eliz@gnu.org>
Thu, 13 Dec 2001 10:01:22 +0000
(10:01 +0000)
committer
Eli Zaretskii
<eliz@gnu.org>
Thu, 13 Dec 2001 10:01:22 +0000
(10:01 +0000)
parameter have a numeric value all the time.
mac/src/macfns.c
patch
|
blob
|
history
diff --git
a/mac/src/macfns.c
b/mac/src/macfns.c
index 04055d4caf501b5ce930672fbec29d142964ec95..fc0cf27a13bcd6b59bac5c71f41104dec8c53d6b 100644
(file)
--- a/
mac/src/macfns.c
+++ b/
mac/src/macfns.c
@@
-1006,6
+1006,10
@@
x_report_frame_params (f, alistptr)
make_number (f->output_data.mac->left_fringe_width));
store_in_alist (alistptr, Qright_fringe,
make_number (f->output_data.mac->right_fringe_width));
+ store_in_alist (alistptr, Qscroll_bar_width,
+ make_number (FRAME_HAS_VERTICAL_SCROLL_BARS (f)
+ ? FRAME_SCROLL_BAR_PIXEL_WIDTH(f)
+ : 0));
sprintf (buf, "%ld", (long) FRAME_MAC_WINDOW (f));
store_in_alist (alistptr, Qwindow_id,
build_string (buf));